/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package tiebreak.BE;

/**
 *
 * @author kennet
 */
public class MembershipType
{
    private int ID;
    private String name;
    private int price;

    public MembershipType(int ID, String name,int price)
    {
        this.ID = ID;
        this.name = name;
        this.price=price;
    }

    public int getID()
    {
        return ID;
    }

    public void setID(int ID)
    {
        this.ID = ID;
    }

    public String getName()
    {
        return name;
    }

    public void setName(String name)
    {
        this.name = name;
    }

    public int getPrice()
    {
        return price;
    }
    public void setPrice(int price)
    {
        this.price=price;
    }

    public String toString()
    {
        return getName()+": "+getPrice()+" DKR";
    }
}
